package me.zingon.dao;

import me.zingon.model.Material;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MaterialsDao {
    public int saveMaterial(Material material);

    //带条件搜索
    public List<Material> getMaterialWithSth(@Param("xq") String xq, @Param("subject") String subject, @Param("teacher") String teacher, @Param("offline") int offline, @Param("star") int star);
}
